package com.dks.repository;

import java.util.*;

import com.dks.models.Department;
import com.dks.result.ResultModel;

public interface IDepartmentRepository {

    ResultModel<Boolean> insert(Department department);

    ResultModel<Boolean> update(Department department);

    ResultModel<Boolean> delete(Department department);

    ResultModel<Boolean> select(Integer id);

    ResultModel<Boolean> getByMapList(Map<String, Object> map);

}
